import 'package:json_annotation/json_annotation.dart';

part 'areadetail_bean.g.dart';

@JsonSerializable()
class AreadetailBean {
  String vehicletype;
  String reason;
  String checkuser;
  String flag;
  String checktime;
  String realpolygon;
  String seq;
  String createtime;
  String address;
  String districtName;
  String platnum;
  String branchnum;
  String polygon;
  String name;
  String schName;
  String updatetime;
  String inscode;
  String isvalid;
  String ischeck;
  int type;
  int curvehnum;
  int id;
  int totalvehnum;
  String notice;
  int area;

  AreadetailBean(
      {this.vehicletype,
      this.reason,
      this.checkuser,
      this.flag,
      this.checktime,
      this.realpolygon,
      this.seq,
      this.createtime,
      this.address,
      this.districtName,
      this.platnum,
      this.branchnum,
      this.polygon,
      this.name,
      this.schName,
      this.updatetime,
      this.inscode,
      this.isvalid,
      this.ischeck,
      this.type,
      this.curvehnum,
      this.id,
      this.totalvehnum,
      this.notice,
      this.area});

  AreadetailBean.fromJson(Map<String, dynamic> json) {
    this.vehicletype = json['vehicletype'];
    this.reason = json['reason'];
    this.checkuser = json['checkuser'];
    this.flag = json['flag'];
    this.checktime = json['checktime'];
    this.realpolygon = json['realpolygon'];
    this.seq = json['seq'];
    this.createtime = json['createtime'];
    this.address = json['address'];
    this.districtName = json['districtName'];
    this.platnum = json['platnum'];
    this.branchnum = json['branchnum'];
    this.polygon = json['polygon'];
    this.name = json['name'];
    this.schName = json['schName'];
    this.updatetime = json['updatetime'];
    this.inscode = json['inscode'];
    this.isvalid = json['isvalid'];
    this.ischeck = json['ischeck'];
    this.type = json['type'];
    this.curvehnum = json['curvehnum'];
    this.id = json['id'];
    this.totalvehnum = json['totalvehnum'];
    this.notice = json['notice'];
    this.area = json['area'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['vehicletype'] = this.vehicletype;
    data['reason'] = this.reason;
    data['checkuser'] = this.checkuser;
    data['flag'] = this.flag;
    data['checktime'] = this.checktime;
    data['realpolygon'] = this.realpolygon;
    data['seq'] = this.seq;
    data['createtime'] = this.createtime;
    data['address'] = this.address;
    data['districtName'] = this.districtName;
    data['platnum'] = this.platnum;
    data['branchnum'] = this.branchnum;
    data['polygon'] = this.polygon;
    data['name'] = this.name;
    data['schName'] = this.schName;
    data['updatetime'] = this.updatetime;
    data['inscode'] = this.inscode;
    data['isvalid'] = this.isvalid;
    data['ischeck'] = this.ischeck;
    data['type'] = this.type;
    data['curvehnum'] = this.curvehnum;
    data['id'] = this.id;
    data['totalvehnum'] = this.totalvehnum;
    data['notice'] = this.notice;
    data['area'] = this.area;
    return data;
  }
}
